<?php /* Smarty version 2.6.18, created on 2009-05-23 09:44:14
         compiled from default/trade_list.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'ul_get_company', 'default/trade_list.html', 143, false),array('modifier', 'default', 'default/trade_list.html', 150, false),array('modifier', 'cat', 'default/trade_list.html', 150, false),array('modifier', 'truncate', 'default/trade_list.html', 158, false),array('modifier', 'replace', 'default/trade_list.html', 158, false),array('modifier', 'date_format', 'default/trade_list.html', 159, false),array('modifier', 'strip_tags', 'default/trade_list.html', 161, false),)), $this); ?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $this->_tpl_vars['Charset']; ?>
">
<meta name="Author" content="stevenchow811@163.com">
<meta name="generator" content="<?php echo $this->_tpl_vars['UaVersion']; ?>
" />
<meta name ="keywords" content="<?php echo $this->_tpl_vars['sitename']; ?>
">
<meta name="description" content="行业分类查看"> 
<title><?php echo $this->_tpl_vars['pageTitle']; ?>
</title>
<link href="<?php echo $this->_tpl_vars['CSS_PATH']; ?>
css/style.css" rel="stylesheet" type="text/css">
<link href="<?php echo $this->_tpl_vars['CSS_PATH']; ?>
css/kongqineng.css" rel="stylesheet" type="text/css">
<script src="<?php echo $this->_tpl_vars['JS_PATH']; ?>
js/prototype.js"></script>
<script src="<?php echo $this->_tpl_vars['JS_PATH']; ?>
js/mixselect.js"></script>
<?php echo $this->_tpl_vars['xajax_javascript']; ?>

<style type="text/css">
<!--
#tabs10 {
float:left;
width:100%;
font-size:90%;
border-bottom:1px solid #2763A5;
line-height:normal;
}
#tabs10 ul {
  margin:0;
  padding:10px 10px 0 50px;
  list-style:none;
}
#tabs10 li {
display:inline;
margin:0;
padding:0;
}
#tabs10 a {
float:left;
background:url("<?php echo $this->_tpl_vars['tpl_img_path']; ?>
default/tableft10.gif") no-repeat left top;
margin:0;
padding:0 0 0 4px;
text-decoration:none;
}
#tabs10 a span {
float:left;
display:block;
background:url("<?php echo $this->_tpl_vars['tpl_img_path']; ?>
default/tabright10.gif") no-repeat right top;
padding:5px 15px 4px 6px;
color:#FFF;
}
/* Commented Backslash Hack hides rule from IE5-Mac \*/
#tabs10 a span {float:none;}
/* End IE5-Mac hack */
#tabs9 a:hover span {
color:#FFF;
}
#tabs10 a:hover {
background-position:0% -42px;
}
#tabs10 a:hover span {
background-position:100% -42px;
}

#tabs10 #current a {
	  background-position:0% -42px;
}
#tabs10 #current a span {
	  background-position:100% -42px;
}
-->
</style>
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => ($this->_tpl_vars['ThemeName'])."/element.banner1.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<table width="<?php echo $this->_tpl_vars['page_width']; ?>
" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr> 
    <td><?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => ($this->_tpl_vars['ThemeName'])."/element.header1.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?></td>
  </tr>
</table>
<table width="<?php echo $this->_tpl_vars['page_width']; ?>
" height=30 border=0 align=center cellPadding=0 cellSpacing=0 class="corhui">
  <tbody>
    <tr> 
      <td width="100%"><img height=13 src="<?php echo $this->_tpl_vars['tpl_img_path']; ?>
default/icon1.gif" 
      width=14> 您当前位置： <?php echo $this->_tpl_vars['pagePosition']; ?>
</td>
    </tr>
  </tbody>
</table>
<table width="<?php echo $this->_tpl_vars['page_width']; ?>
" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr> 
    <td width="100%">                
	</td>
  </tr>
  <tr> 
    <td colspan="2" valign="top"> 
	<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" class="linegreen">
        <tr> 
          <td class="corgreen" height="4"></td>
        </tr>
        <tr> 
          <td class="corgreen02"height="8">
          </td>
        </tr>
        <tr> 
          <td class="corgreen02"> 
		  <table height=35 cellSpacing=3 cellPadding=3 width="100%" 
            align=center border=0>
              <form name=SearchForm action="<?php echo $_SERVER['PHP_SELF']; ?>
" method="get">
                <tbody>
                  <tr> 
                    <td class=f2 align=middle width=102><select name="countryid" id="countryid" USEDATA="dataSrc2" SUBCLASS="1"></select></td>
                    <td width=103><select name="provinceid" id="provinceid" USEDATA="dataSrc2" SUBCLASS="2">
                          </select></td>
                    <td width=115><select name=select5>
                        <option value="" selected>--发布时间--</option>
                        <option value="1">最近1天</option>
                        <option value="3">最近3天</option>
                        <option value="7">最近7天</option>
                        <option value="30">最近1个月</option>
                        <option value="90">最近3个月</option>
                        <option value="180">最近半年</option>
                      </select></td>
                    <td align=middle width=141><select name="aindustry" id="aindustry" USEDATA="dataSrc" SUBCLASS="1">
                          </select></td>
                    <td align=middle width=144><input name="keyword" value="输入关键字" size="18" onFocus="if(this.value=='输入关键字'){this.value='';this.style.color='#000'}" onBlur="if(this.value==''){this.value='输入关键字';this.style.color='#808080'}" ></td>
                    <td align=middle width=98><input type="submit" name="search_list" value="--筛 选--"></td>
                  </tr>
              </FORM>
            </table></td>
        </tr>
      </table></td>
  </tr>
</table>
<table width="<?php echo $this->_tpl_vars['page_width']; ?>
" border="0" align="center" cellpadding="5" cellspacing="1">
  <tr>
    <td height="30" colspan="6" align="center"><?php echo $this->_tpl_vars['ByPages']; ?>
</td>
  </tr>
  <tr class="corgreen"> 
    <td width="70" height="30" align="center"><strong>会员等级</strong></td>
    <td width="90" align="center"><strong>图　片</strong></td>
    <td width="385" align="center"><strong>信息内容</strong></td>
    <td width="70" align="center"><strong>到期时间</strong></td>
	<td width="70" align="center"><strong>产品价格</strong></td>
    <td width="75" align="center"><strong>信誉度指数</strong></td>
    <td width="70" align="center"><strong>给我留言</strong></td>
	<td width="100" rowspan="<?php echo $this->_tpl_vars['product_num']; ?>
" bgcolor="#ffffff" class="z4" >提荐企业<br>
<table><tr><?php echo smarty_function_ul_get_company(array('member_type' => '4'), $this);?>
</tr></table><br>
最近加入的企业<br><table><tr>
<?php echo smarty_function_ul_get_company(array(), $this);?>
</tr></table></td>
  </tr>
<!-- 列表供求 -->
<?php unset($this->_sections['t']);
$this->_sections['t']['name'] = 't';
$this->_sections['t']['loop'] = is_array($_loop=$this->_tpl_vars['Lists']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['t']['show'] = true;
$this->_sections['t']['max'] = $this->_sections['t']['loop'];
$this->_sections['t']['step'] = 1;
$this->_sections['t']['start'] = $this->_sections['t']['step'] > 0 ? 0 : $this->_sections['t']['loop']-1;
if ($this->_sections['t']['show']) {
    $this->_sections['t']['total'] = $this->_sections['t']['loop'];
    if ($this->_sections['t']['total'] == 0)
        $this->_sections['t']['show'] = false;
} else
    $this->_sections['t']['total'] = 0;
if ($this->_sections['t']['show']):

            for ($this->_sections['t']['index'] = $this->_sections['t']['start'], $this->_sections['t']['iteration'] = 1;
                 $this->_sections['t']['iteration'] <= $this->_sections['t']['total'];
                 $this->_sections['t']['index'] += $this->_sections['t']['step'], $this->_sections['t']['iteration']++):
$this->_sections['t']['rownum'] = $this->_sections['t']['iteration'];
$this->_sections['t']['index_prev'] = $this->_sections['t']['index'] - $this->_sections['t']['step'];
$this->_sections['t']['index_next'] = $this->_sections['t']['index'] + $this->_sections['t']['step'];
$this->_sections['t']['first']      = ($this->_sections['t']['iteration'] == 1);
$this->_sections['t']['last']       = ($this->_sections['t']['iteration'] == $this->_sections['t']['total']);
?>
  <tr class="corhui"> 
    <td width="70" align="center"><img src="<?php echo $this->_tpl_vars['tpl_img_path']; ?>
default/grade/<?php echo ((is_array($_tmp=((is_array($_tmp=@$this->_tpl_vars['Lists'][$this->_sections['t']['index']]['CreditLevel'])) ? $this->_run_mod_handler('default', true, $_tmp, '1') : smarty_modifier_default($_tmp, '1')))) ? $this->_run_mod_handler('cat', true, $_tmp, ".gif") : smarty_modifier_cat($_tmp, ".gif")); ?>
"></td>
    <td width="90"> <table width=64 height=55 border=0 align=center cellPadding=0 cellSpacing=1 class="bghui">
        <tbody>
          <tr> 
            <td><img src="<?php if ($this->_tpl_vars['Lists'][$this->_sections['t']['index']]['TradePicture']): ?><?php echo $this->_tpl_vars['attachment_url']; ?>
<?php echo $this->_tpl_vars['Lists'][$this->_sections['t']['index']]['TradePicture']; ?>
.small.jpg<?php else: ?>../media/default/small.gif<?php endif; ?>" width="72" height="65" border=0></td>
          </tr>
        </tbody>
      </table></td>
    <td ><a href="detail.php?id=<?php echo $this->_tpl_vars['Lists'][$this->_sections['t']['index']]['ID']; ?>
" class="font14blak" title="<?php echo $this->_tpl_vars['Lists'][$this->_sections['t']['index']]['Name']; ?>
"><?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['Lists'][$this->_sections['t']['index']]['Name'])) ? $this->_run_mod_handler('truncate', true, $_tmp, 25) : smarty_modifier_truncate($_tmp, 25)))) ? $this->_run_mod_handler('replace', true, $_tmp, $_GET['skeyword'], $this->_tpl_vars['searchwords']) : smarty_modifier_replace($_tmp, $_GET['skeyword'], $this->_tpl_vars['searchwords'])); ?>
</a> 
            <span class="time"><img src="<?php echo $this->_tpl_vars['tpl_img_path']; ?>
default/clock.gif"><?php echo ((is_array($_tmp=$this->_tpl_vars['Lists'][$this->_sections['t']['index']]['PublishTime'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%Y-%m-%d") : smarty_modifier_date_format($_tmp, "%Y-%m-%d")); ?>
</span><?php if ($this->_tpl_vars['Lists'][$this->_sections['t']['index']]['PrimTel'] == 1): ?><img src="<?php echo $this->_tpl_vars['tpl_img_path']; ?>
default/mobile.gif" alt="有手机"><?php elseif ($this->_tpl_vars['Lists'][$this->_sections['t']['index']]['PrimTel'] != ''): ?><img src="<?php echo $this->_tpl_vars['tpl_img_path']; ?>
default/tel.gif" alt="有电话"><?php endif; ?>
            <br />
            <?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['Lists'][$this->_sections['t']['index']]['Content'])) ? $this->_run_mod_handler('strip_tags', true, $_tmp) : smarty_modifier_strip_tags($_tmp)))) ? $this->_run_mod_handler('truncate', true, $_tmp, 100) : smarty_modifier_truncate($_tmp, 100)); ?>

            <br />
            <a href="detail.php?id=<?php echo $this->_tpl_vars['Lists'][$this->_sections['t']['index']]['ID']; ?>
">详细信息</a></td>
    <td width="70"><div align="center"><?php echo ((is_array($_tmp=$this->_tpl_vars['Lists'][$this->_sections['t']['index']]['TradeExpiretime'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%y.%m.%d") : smarty_modifier_date_format($_tmp, "%y.%m.%d")); ?>
</div></td>
	<td width="70" align="center"><strong>产品价格</strong></td>
    <td width="75" align="center"><img src="<?php echo $this->_tpl_vars['tpl_img_path']; ?>
default/type/<?php echo ((is_array($_tmp=@$this->_tpl_vars['Lists'][$this->_sections['t']['index']]['Membertype'])) ? $this->_run_mod_handler('default', true, $_tmp, 'default') : smarty_modifier_default($_tmp, 'default')); ?>
.gif"></td>
    <td width="70" align="center"><?php if ($this->_tpl_vars['Lists'][$this->_sections['t']['index']]['prim_im'] == 1 && $this->_tpl_vars['Lists'][$this->_sections['t']['index']]['prim_imaccount'] != ""): ?><a target="_blank" href="http://wpa.qq.com/msgrd?V=1&Uin=<?php echo $this->_tpl_vars['Lists'][$this->_sections['t']['index']]['prim_imaccount']; ?>
&Site=<?php echo $this->_tpl_vars['SiteUrl']; ?>
&Menu=yes"><img src="http://wpa.qq.com/pa?p=1:<?php echo ((is_array($_tmp=@$this->_tpl_vars['Lists'][$this->_sections['t']['index']]['prim_imaccount'])) ? $this->_run_mod_handler('default', true, $_tmp, @$this->_config[0]['vars']['ServiceQQ']) : smarty_modifier_default($_tmp, @$this->_config[0]['vars']['ServiceQQ'])); ?>
:8" alt="<?php echo $this->_tpl_vars['Lists'][$this->_sections['t']['index']]['prim_imaccount']; ?>
" border="0" align="absmiddle" ></a><?php elseif ($this->_tpl_vars['Lists'][$this->_sections['t']['index']]['prim_im'] == 3): ?><img src="<?php echo $this->_tpl_vars['tpl_img_path']; ?>
default/im_msn.gif" alt="<?php echo $this->_tpl_vars['Lists'][$this->_sections['t']['index']]['prim_imaccount']; ?>
"><?php elseif ($this->_tpl_vars['Lists'][$this->_sections['t']['index']]['prim_im'] == 4): ?><img src="<?php echo $this->_tpl_vars['tpl_img_path']; ?>
default/im_yahoo.gif" alt="<?php echo $this->_tpl_vars['Lists'][$this->_sections['t']['index']]['prim_imaccount']; ?>
"><?php elseif ($this->_tpl_vars['Lists'][$this->_sections['t']['index']]['prim_im'] == 5): ?><img src="<?php echo $this->_tpl_vars['tpl_img_path']; ?>
default/im_skype.gif" alt="<?php echo $this->_tpl_vars['Lists'][$this->_sections['t']['index']]['prim_imaccount']; ?>
"><?php endif; ?><?php if ($this->_tpl_vars['Lists'][$this->_sections['t']['index']]['OfferCompanyName'] != ""): ?><br> 
      <a href="<?php echo $this->_tpl_vars['UrlContainer']['common']; ?>
space.php?do=feedback&userid=<?php echo $this->_tpl_vars['Lists'][$this->_sections['t']['index']]['MemberUsername']; ?>
">给我留言</a><?php endif; ?></td>
  </tr>
<?php endfor; else: ?>
  <tr class="corhui"> 
    <td align="center" colspan="6"><div align="center">暂无数据</div></td>
  </tr>
<?php endif; ?>
<!-- 列表供求结束 -->
<table width="<?php echo $this->_tpl_vars['page_width']; ?>
" border="0" align="center" cellpadding="0" cellspacing="0">

  <tr> 
    <td height="1" background="<?php echo $this->_tpl_vars['tpl_img_path']; ?>
default/dian.gif"></td>
  </tr>
  <tr> 
    <td> 
      <table width="100%" cellpadding=3 cellspacing="3" class="corgreenlower">
        <tr  > 
          <td valign="baseline"><?php echo $this->_tpl_vars['ByPages']; ?>
</td>
        </tr>
      </table></td>
  </tr>
</table>
<table width="<?php echo $this->_tpl_vars['page_width']; ?>
" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr> 
    <td><?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => ($this->_tpl_vars['ThemeName'])."/element.foot.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?></td>
  </tr>
</table>
</body>
</html>
<script language="javascript">
var linkage = new Linkage("dataSrc", "<?php echo $this->_tpl_vars['JS_PATH']; ?>
media/xml/industry_option.xml");
linkage.BLANK_SELECT = "--行业类别--";
linkage.init();
var linkage2 = new Linkage("dataSrc2", "<?php echo $this->_tpl_vars['JS_PATH']; ?>
media/xml/area.xml");
linkage2.BLANK_SELECT = "请选择地区";
linkage2.init();
</script>